app.controller("confirmPopCtrl", ["$scope", '$modalInstance','treeInfo', function($scope, $modalInstance, treeInfo){
    $scope.info={};
    // $scope.info.html = htmlEle;
    // console.log($scope.info.html)
    /*$scope.info.titleData = "title";
    $scope.info.bodyData = "body";*/
    $scope.info.text={'label':'','vastat':true};
    $scope.info.lable=""
    $scope.buttonsClick = function(x){
        if(x == 'save'){
            $modalInstance.dismiss($scope.info);
        }
        if(x == 'cancel'){
            $modalInstance.close('cancel');
        }
    }

}])